<div class='center_form'>
    <div class="center_form_right">
        <div class='center_form_btn_div' onclick='javascript:Inventory.submitAttributeForm();'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("saveBtn"); ?></div>
        </div>
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/inventory/product");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("cancelBtn"); ?></div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="centerbig_form">
      <div class="center_top"><span class="center_top_title"><?php echo $this->translate("attributes"); ?></span></div>
      <div class="right_form_content">
            <div class="centerbig_right">
               <div class="form_content">
                    <form action="<?php echo $this->form->getAction(); ?>" method="post">
                        <?php echo ZendFormUtil::renderHidden($this->form->productId); ?>
                        <?php echo ZendFormUtil::renderHidden($this->form->value1); ?>
                        <?php echo ZendFormUtil::renderHidden($this->form->value2); ?>
                        <?php echo ZendFormUtil::renderHidden($this->form->value3); ?>
                        <?php echo ZendFormUtil::renderHidden($this->form->value4); ?>
                        <?php echo ZendFormUtil::renderHidden($this->form->value5); ?>
                        <fieldSet>
                            <legend>Attribute 1</legend>
                            <div style="padding:10px;">
                                <div style="float:left;">
                                     <?php ZendFormUtil::renderElement($this->form->attribute1); ?>
                                     <div class="form_line_div">
                                     <div class="form_element_label">Value</div>
                                        <div class="form_element">
                                            <input id="valueBox1" type="text" value="" name="valueBox"/>
                                        </div>
                                     </div>
                                </div>
                                <div style="float:left;text-align:right;">
                                    <input type="button" name="add" value="Add" onclick="Inventory.addAttributeValue(1);" />
                                    <br/>
                                    <input type="button" name="remove" value="Remove" onclick="Inventory.removeAttributeValue(1);" />
                                </div>
                                <div style="float:left;" >
                                     <div class="form_line_div">
                                        <div class="form_element">
                                            <select id="valueSelect1" name="value1" multiple size="6" style="width:200px;">
                                                
                                            </select>
                                        </div>
                                     </div>
                                </div>
                                 <div class="clear"></div>
                            </div>
                        </fieldSet>
                       <fieldSet>
                            <legend>Attribute 2</legend>
                            <div style="padding:10px;">
                                <div style="float:left;">
                                     <?php ZendFormUtil::renderElement($this->form->attribute2); ?>
                                     <div class="form_line_div">
                                     <div class="form_element_label">Value</div>
                                        <div class="form_element">
                                            <input id="valueBox2" type="text" value="" name="valueBox"/>
                                        </div>
                                     </div>
                                </div>
                                <div style="float:left;text-align:right;">
                                    <input type="button" name="add" value="Add" onclick="Inventory.addAttributeValue(2);" />
                                    <br/>
                                    <input type="button" name="remove" value="Remove" onclick="Inventory.removeAttributeValue(2);" />
                                </div>
                                <div style="float:left;" >
                                     <div class="form_line_div">
                                        <div class="form_element">
                                            <select id="valueSelect2" name="value2" multiple size="6" style="width:200px;">

                                            </select>
                                        </div>
                                     </div>
                                </div>
                                 <div class="clear"></div>
                            </div>
                        </fieldSet>
                       <fieldSet>
                            <legend>Attribute 3</legend>
                            <div style="padding:10px;">
                                <div style="float:left;">
                                     <?php ZendFormUtil::renderElement($this->form->attribute3); ?>
                                     <div class="form_line_div">
                                     <div class="form_element_label">Value</div>
                                        <div class="form_element">
                                            <input id="valueBox3" type="text" value="" name="valueBox"/>
                                        </div>
                                     </div>
                                </div>
                                <div style="float:left;text-align:right;">
                                    <input type="button" name="add" value="Add" onclick="Inventory.addAttributeValue(3);" />
                                    <br/>
                                    <input type="button" name="remove" value="Remove" onclick="Inventory.removeAttributeValue(3);" />
                                </div>
                                <div style="float:left;" >
                                     <div class="form_line_div">
                                        <div class="form_element">
                                            <select id="valueSelect3" name="value3" multiple size="6" style="width:200px;">

                                            </select>
                                        </div>
                                     </div>
                                </div>
                                 <div class="clear"></div>
                            </div>
                        </fieldSet>
                       <fieldSet>
                            <legend>Attribute 4</legend>
                            <div style="padding:10px;">
                                <div style="float:left;">
                                     <?php ZendFormUtil::renderElement($this->form->attribute4); ?>
                                     <div class="form_line_div">
                                     <div class="form_element_label">Value</div>
                                        <div class="form_element">
                                            <input id="valueBox4" type="text" value="" name="valueBox"/>
                                        </div>
                                     </div>
                                </div>
                                <div style="float:left;text-align:right;">
                                    <input type="button" name="add" value="Add" onclick="Inventory.addAttributeValue(4);" />
                                    <br/>
                                    <input type="button" name="remove" value="Remove" onclick="Inventory.removeAttributeValue(4);" />
                                </div>
                                <div style="float:left;" >
                                     <div class="form_line_div">
                                        <div class="form_element">
                                            <select id="valueSelect4" name="value4" multiple size="6" style="width:200px;">

                                            </select>
                                        </div>
                                     </div>
                                </div>
                                 <div class="clear"></div>
                            </div>
                        </fieldSet>
                       <fieldSet>
                            <legend>Attribute 5</legend>
                            <div style="padding:10px;">
                                <div style="float:left;">
                                     <?php ZendFormUtil::renderElement($this->form->attribute5); ?>
                                     <div class="form_line_div">
                                     <div class="form_element_label">Value</div>
                                        <div class="form_element">
                                            <input id="valueBox5" type="text" value="" name="valueBox"/>
                                        </div>
                                     </div>
                                </div>
                                <div style="float:left;text-align:right;">
                                    <input type="button" name="add" value="Add" onclick="Inventory.addAttributeValue(5);" />
                                    <br/>
                                    <input type="button" name="remove" value="Remove" onclick="Inventory.removeAttributeValue(5);" />
                                </div>
                                <div style="float:left;" >
                                     <div class="form_line_div">
                                        <div class="form_element">
                                            <select id="valueSelect5" name="value5" multiple size="6" style="width:200px;">

                                            </select>
                                        </div>
                                     </div>
                                </div>
                                 <div class="clear"></div>
                            </div>
                        </fieldSet>
                    </form>
               </div>
            </div>
      </div>
      <div class='clear'></div>
</div>
<div class='clear'></div>